of

public static EventType of(String eventName)

Returns the EventType instance for the given eventName.

Parameters

eventName

the name of the event. For example, "dblclick", "keyup", "blur"

Throws

when eventName is empty or blank